
void zero_Baro() {
  for(int i = 0; i <=5000; i++)
  {
    baro_offset = ((float)analogRead(baroPin) * .15) + (baro_offset * .85);
  }
  
  baro_offset = ((float)baro_offset/1023 + 0.095)/0.009;
  buzz(4, 1000, 100);
}

void zero_Accel() {
  for(int i = 0; i <=5000; i++)
  {
      accel_offset = ((float)analogRead(accelPin) * .15) + (accel_offset * .85);
  }
  buzz(4, 1000, 100);
}
